package com.lin.service.ranges;

import com.lin.common.error.CustomRuntimeException;
import com.lin.controller.req.RangeReqMsg;
import com.lin.po.Customer;
import com.lin.po.Ranges;

import java.util.List;
import java.util.Set;

public interface RangesService {

    /**
     * 该接口的update多于insert
     * @param reqMsg
     * @return
     */
    Integer location(RangeReqMsg reqMsg) throws CustomRuntimeException;

    Set<Ranges> listrange(Customer customer);
}
